package com.busi.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
/**
 * ******************  类说明  *********************
 * class       :  OrderRefund
 * @author     :  dmm
 * @version    :  1.0  
 * description :  退货订单表
 * @see        :                        
 * ***********************************************
 */
public class OrderRefund extends BaseModel implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8411500652985834433L;
	
	private String trace;//退款流水主键
	private String subid;//子订单主键
	private String suborderid;//子订单编号
	private String suborderdate;//子订单日期
	private String userid;//用户id
	private String refunddate;//退款日期	char(8)	 当前日期
	private Integer refundstatus;//退货状态0  已退货 1  待初审 2  审核未通过 4  初审通过，待回退商品 5  待商品审核 6  待退款 7  退款失败 8  已取消
	private BigDecimal amount;//申请退现金总额 单位：分
	private BigDecimal points;//申请退积分总额 单位：分
	private BigDecimal realamount;//实际退现金总额 单位：分
	private BigDecimal realpoints;//实际退积分总额 单位：分
	private String orgtrace;//原支付交易流水 大订单中的trace主键
	private String remark;//用户附言
	private String note;//管理员备注
	private Timestamp modtime;//修改时间
	private Timestamp intime;//入库时间
	private String mobileid;
	//以下为非db字段
    private String  goodarray;
	private String description;
	private String note2;
	private String changedesc;
	public String getChangedesc() {
		return changedesc;
	}
	public void setChangedesc(String changedesc) {
		this.changedesc = changedesc;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	private String description2;
	
	public String getNote2() {
		return note2;
	}
	public void setNote2(String note2) {
		this.note2 = note2;
	}
	public String getDescription2() {
		return description2;
	}
	public void setDescription2(String description2) {
		this.description2 = description2;
	}
    
	public String getMobileid() {
		return mobileid;
	}
	public void setMobileid(String mobileid) {
		this.mobileid = mobileid;
	}
	public String getGoodarray() {
		return goodarray;
	}
	public void setGoodarray(String goodarray) {
		this.goodarray = goodarray;
	}

	public String getTrace() {
		return trace;
	}
	public void setTrace(String trace) {
		this.trace = trace;
	}
	public String getSubid() {
		return subid;
	}
	public void setSubid(String subid) {
		this.subid = subid;
	}
	public String getSuborderid() {
		return suborderid;
	}
	public void setSuborderid(String suborderid) {
		this.suborderid = suborderid;
	}
	public String getSuborderdate() {
		return suborderdate;
	}
	public void setSuborderdate(String suborderdate) {
		this.suborderdate = suborderdate;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getRefunddate() {
		return refunddate;
	}
	public void setRefunddate(String refunddate) {
		this.refunddate = refunddate;
	}
	public Integer getRefundstatus() {
		return refundstatus;
	}
	public void setRefundstatus(Integer refundstatus) {
		this.refundstatus = refundstatus;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public BigDecimal getPoints() {
		return points;
	}
	public void setPoints(BigDecimal points) {
		this.points = points;
	}
	public BigDecimal getRealamount() {
		return realamount;
	}
	public void setRealamount(BigDecimal realamount) {
		this.realamount = realamount;
	}
	public BigDecimal getRealpoints() {
		return realpoints;
	}
	public void setRealpoints(BigDecimal realpoints) {
		this.realpoints = realpoints;
	}
	public String getOrgtrace() {
		return orgtrace;
	}
	public void setOrgtrace(String orgtrace) {
		this.orgtrace = orgtrace;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Timestamp getModtime() {
		return modtime;
	}
	public void setModtime(Timestamp modtime) {
		this.modtime = modtime;
	}
	public Timestamp getIntime() {
		return intime;
	}
	public void setIntime(Timestamp intime) {
		this.intime = intime;
	}
	@Override
	public String toString() {
		return "OrderRefund [trace=" + trace + ", subid=" + subid
				+ ", suborderid=" + suborderid + ", suborderdate="
				+ suborderdate + ", userid=" + userid + ", refunddate="
				+ refunddate + ", refundstatus=" + refundstatus + ", amount="
				+ amount + ", points=" + points + ", realamount=" + realamount
				+ ", realpoints=" + realpoints + ", orgtrace=" + orgtrace
				+ ", remark=" + remark + ", note=" + note + ", modtime="
				+ modtime + ", intime=" + intime + "]";
	}
	
}
